home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
3863
/
3863.xpi
/
chrome
/
imacros.jar
/
content
/
options.xul
< prev
next >
Wrap
Extensible Markup Language
|
2009-06-02
|
10KB
|
280 lines
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://imacros/skin/imacros.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://imacros/locale/labels.dtd" >
<prefwindow xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
id="imacros-options-dialog"
title="&imacros.window.options;"
type="prefwindow"
buttons="extra1,cancel"
buttonlabelextra1="Apply"
defaultButton="extra1"
ondialogextra1="return do_accept();"
>
<prefpane id="common-settings" label="&imacros.options.general;"
image="chrome://imacros/skin/common-settings.png">
<vbox>
<groupbox >
<caption label="&imacros.label.replay.speed;"/>
<radiogroup id="replay-speed" orient="horizontal">
<radio id="delayfast" label="&imacros.radio.fast;" />
<radio id="delaymedium" label="&imacros.radio.medium;" />
<radio id="delayslow" label="&imacros.radio.slow;" />
</radiogroup>
<hbox >
<spacer width="30px"/>
<label class="text-link"
value="&imacros.label.or.use.set.r0;"
href="http://www.iopus.com/imacros/home/fx/rd.asp?helpid=replayspeed"/>
</hbox>
</groupbox>
<groupbox flex="1">
<caption label="&imacros.options.visual.effects;"/>
<checkbox id="scroll"
label="&imacros.checkbox.scroll.to3;" />
<checkbox id="highlight"
label="&imacros.checkbox.highlight4;" />
</groupbox>
<groupbox>
<caption label="&imacros.label.timeout.limi1;"/>
<hbox align="center" >
<textbox style="max-width: 50px;" id="maxwait" />
<label class="text-link"
value="&imacros.label.or.use.set.t2;"
href="http://www.iopus.com/imacros/home/fx/rd.asp?helpid=timeout"/>
</hbox>
</groupbox>
<groupbox>
<caption label="&imacros.options.scripting.settings;"/>
<checkbox id="showjs"
label="&imacros.checkbox.js5;" />
<hbox>
<spacer width="30px"/>
<label class="text-link"
value="(or use //imacros-js:showsteps yes|no)"
href="http://www.iopus.com/imacros/home/fx/rd.asp?helpid=showsteps"/>
</hbox>
</groupbox>
<!--spacer height="15px"/-->
<groupbox>
<hbox pack="center">
<button id="clickbutton"
label="&imacros.button.open.click.5;"
oncommand="window.openDialog('chrome://imacros/content/clickpanel.xul')" />
</hbox>
</groupbox>
</vbox>
</prefpane>
<prefpane id="security-settings" label="&imacros.options.security;"
image="chrome://imacros/skin/security-settings.png">
<description maxwidth="500">
&imacros.label.the.master.p7;
</description>
<groupbox flex="1">
<caption label="&imacros.label.master.passw6;" />
<radiogroup id="masterpwd-usage">
<groupbox>
<radio id="sec1" onclick="updatePasswordControls(1);"
label="&imacros.label.do.not.encry9;"/>
</groupbox>
<groupbox>
<vbox>
<radio id="sec2" onclick="updatePasswordControls(2);"
label="&imacros.label.enter.maste10;" />
<box style="margin-left: 30px">
<textbox flex="1" id="sec2master" maxwidth="300"
type="password" />
</box>
</vbox>
</groupbox>
<groupbox>
<hbox align="center" >
<radio id="sec3" onclick="updatePasswordControls(3);" />
<button id="tmp-master"
label="&imacros.button.enter.mast11;"
oncommand="enterTempPassword();"/>
</hbox>
<description >
&imacros.label.enter.a.tem12;
</description>
</groupbox>
</radiogroup>
</groupbox>
<description >
&imacros.label.encryption.16;
</description>
<vbox >
<hbox pack="center">
<label class="text-link"
value="&imacros.options.enc.command;"
href="http://www.iopus.com/imacros/home/fx/rd.asp?helpid=encryption"/>
</hbox>
<spacer height="10px" />
<hbox align="center" pack="center">
<label value="Create or decrypt password strings manually:"/>
<label class="text-link"
value="iMacros Password Tool"
href="http://www.iopus.com/imacros/support/passwordtool/"/>
</hbox>
</vbox>
</prefpane>
<prefpane id="path-settings" label="Paths"
image="chrome://imacros/skin/path-settings.png">
<groupbox>
<caption label="Working folders"/>
<grid>
<columns>
<column />
<column flex="1"/>
<column />
</columns>
<rows>
<row align="center">
<hbox pack="end">
<label value="&imacros.label.folder.macros;"
class="im-file-link"
onclick="lookAt('defsavepath')"/>
</hbox>
<textbox flex="1" id="savepath" />
<button id="browse-savepath" class="browse"
oncommand="browseForFolder('defsavepath', 'savepath');" />
</row>
<row align="center">
<hbox pack="end">
<label value="&imacros.label.folder.data17;"
class="im-file-link"
onclick="lookAt('defdatapath')"/>
</hbox>
<textbox id="datapath" flex="1" />
<button id="browse-datapath" class="browse"
oncommand="browseForFolder('defdatapath', 'datapath');" />
</row>
<row align="center">
<hbox pack="end">
<label value="&imacros.label.folder.down18;"
class="im-file-link"
onclick="lookAt('defdownpath')"/>
</hbox>
<textbox id="downpath" flex="1" />
<button id="browse-downpath" class="browse"
oncommand="browseForFolder('defdownpath', 'downpath');" />
</row>
<row align="center">
<hbox pack="end">
<label value="&imacros.label.logs.events;"
class="im-file-link"
onclick="lookAt('deflogpath')"/>
</hbox>
<textbox id="logpath" flex="1" />
<button id="browse-logpath" class="browse"
oncommand="browseForFolder('deflogpath', 'logpath');" />
</row>
</rows>
</grid>
<hbox align="center">
<checkbox id="store-in-profile"
label="Store data in profile folder"
oncommand="storeInProfile();"/>
<label class="text-link"
value="(recommended with Portable Firefox)"
href="http://www.iopus.com/imacros/home/fx/rd.asp?helpid=portable"/>
</hbox>
</groupbox>
<groupbox>
<caption label="&imacros.options.external.editor;"/>
<checkbox id="chkeditor"
label="&imacros.checkbox.use.exte19;"
oncommand="updateEditorField();" />
<hbox style="margin-left: 30px">
<textbox id="editpath" flex="1" />
<button id="editpathbtn"
class="browse"
oncommand="browseForFile('externaleditorpath','editpath');" />
</hbox>
<hbox pack="center">
<label class="text-link"
value="(View list of recommended editors)"
href="http://www.iopus.com/imacros/home/fx/rd.asp?helpid=editorlist"/>
</hbox>
</groupbox>
</prefpane>
<prefpane id="shared-macro-settings" label="&imacros.options.shared;"
image="chrome://imacros/skin/shared-settings.png">
<description maxwidth="500">
Running shared macros could be dangerous. In order to protect
you from malicious code, iMacros shows a warning which
lets you inspect the source code of the macro to allow or block
it. The 'trusted sites' list lets you choose a default action for
the site.
</description>
<groupbox >
<!--caption label="Trusted sites"/-->
<vbox>
<label value="Enter URL or domain name:"/>
<hbox pack="end">
<textbox id="add-site-textbox"
type="autocomplete"
autocompletesearch="history"
completedefaultindex="true"
onkeydown="onTextBoxKeypress(event)"
ontextentered="addSite()"
flex="1"/>
<button id="add-site" label="Add"
tooltiptext="Add a site to the Trusted list"
oncommand="addSite()"/>
</hbox>
</vbox>
<listbox id="white-list" seltype="multiple"
onkeydown="onListKeydown(event)"
ondblclick="onListDblClick(event)"
onselect="onSelectWhiteList()"
>
<listhead>
<listheader label="Site"/>
<listheader label="Status"/>
</listhead>
<listcols>
<listcol flex="1"/>
<listcol />
</listcols>
</listbox>
<hbox >
<button id="remove-site" label="Remove"
tooltiptext="Remove the selected entries from the Trusted list"
disabled="true"
oncommand="removeSites()"/>
<!--spacer flex="1"/-->
<button id="toggle-site" label="Block"
tooltiptext="Change the site status"
disabled="true"
oncommand="toggleSite()"/>
</hbox>
<label class="text-link"
value="&imacros.options.more.info;"
href="http://wiki.imacros.net/iMacros_for_Firefox#Bookmarking"/>
</groupbox>
<spacer height="50px"/>
</prefpane>
<script type="application/x-javascript"
src="chrome://imacros/content/utils.js" />
<script type="application/x-javascript"
src="chrome://imacros/content/options.js" />
<script type="application/x-javascript"
src="chrome://imacros/content/rijndael.js" />
</prefwindow>